home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Tools / Preditor 2.0 / Preditor Folder / LDC Source / Pascal.ldf < prev    next >
Encoding:
Text File  |  1989-08-06  |  1.2 KB  |  39 lines  |  [TEXT/TCEd]

  1. #--------------------------------------------------------------
  2. #                 Description of the Pascl language
  3. #
  4. #  by Thomas Carstensen                        May 14, 1989
  5. #--------------------------------------------------------------
  6.  
  7. LANGUAGE Pascal
  8.  
  9. EXTENSION .p .pas
  10.  
  11. COMMENT (* *)
  12. COMMENT ONELINE { } 60   # Place comment at column 60
  13.  
  14. BRACKET [ ]
  15. BRACKET ( )
  16. BRACKET begin end
  17. BRACKET record end
  18. BRACKET case end
  19.  
  20. QUOTE ' '
  21. QUOTE " "
  22.  
  23. RESERVED  and    array    begin  case     const    div       do \
  24.           downto else     end    file     for      forward   function \
  25.           goto   if       implementation  in       interface label \
  26.           mod    nil      not    of       or       otherwise packed \
  27.           procedure       program         record   repeat    set \
  28.           then   to       type   unit     until    uses      var \
  29.           while  with
  30.           
  31. DESCRIPTION " The Pascal Programming Lanuage       written by Thomas Carstensen" \
  32.              "                        August 4, 1989"
  33.  
  34. TEMPLATES
  35.     If        -> 'if (' ^ ') then' [1] begin [1] ^ [-1] end
  36.     While    -> 'while (' ^ ') do' [1] begin [1] ^ [-1] end
  37.     Function  -> 'function ' ^ ' (' ^ ) [0] begin [1] ^ [-1] end
  38.     Procedure -> 'procedure ' ^ ' (' ^ ) [0] begin [1] ^ [-1] end
  39.